home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Util / M / MacDOS 3.0.sit / MacDOS 3.0 ƒ / executables / MacDOS 3.0.rsrc / TEXT_150_INCR.txt < prev    next >
Encoding:
Text File  |  1995-04-09  |  770 b   |  17 lines

  1. Increments or extends values of variables.
  2.  
  3. INCR [+ | -]var [BY {number | string}]
  4.  
  5.   [+|-]var  is the name of a variable possibly preceded by a plus
  6.             or minus sign. INCR uses the sign to decide whether to
  7.             operate at the end or at the beginning of the string
  8.             contained in var.
  9.   number    is a signed integral number which INCR adds to var when
  10.             var is numeric. When var is not numeric and the number is
  11.             positive, INCR appends/prepends spaces to var (when
  12.             the number is negative, INCR removes characters instead).
  13.   string    is a non-numeric string. INCR appends/prepends it to var
  14.             regardless of whether var is numeric or not.
  15.  
  16. Defaults: "INCR¬†var" is equivalent to "INCR¬†+var¬†BY¬†1"
  17.